package com.xqls.service;

import java.util.List;
import java.util.Map;

import com.xqls.dal.model.User;

/**
 * Created by Skeyedu on 2017/1/19.
 */
public interface UserService {
	
    boolean insertUser(User user);
    
    boolean updateUser(User user);
    
    boolean updateUserSelective(User user);
    
    boolean deleteUser(String userId);
    
    boolean deleteByList(List<String> idList);
    
    User getLastRecord(String username);
    
    List<User> getUserByKey(String userId);
    
    List<User> getUserByUserName(String userName);
   
	List<User> getUserListForLogin(String userName,String password);
   
    List<User> getList();
    
    List<Map<String, Object>> selectTelByAlarmLevel(Map<String, Object> map);
    
    User selByName(String Name);
}
